package com.xnyzc.lhy.mis.entity.order;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
*
* 订单改价记录
*
* @author cuixiaojian
* @since 2019-12-06
*/
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="OaOrderFeeRecord对象", description="订单改价记录")
public class OaOrderFeeRecord implements Serializable {

private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value="record_id", type = IdType.INPUT)
    private Long recordId;

    @ApiModelProperty(value = "原金额")
    private BigDecimal originlFee;

    @ApiModelProperty(value = "修改后金额")
    private BigDecimal diffFee;

    @ApiModelProperty(value = "订单号")
    private String orderNo;

    @ApiModelProperty(value = "创建人")
    private Long createUser;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "更新人")
    private Long updateUser;

    @ApiModelProperty(value = "修改金额类型(0 - 起步价 1 - 里程费 2 - 时长费 3 - 远途费 4 - 路桥费 5 - 停车费 6 - 高速费 7 - 其他费用 8 - 总费用)")
    private Integer feeType;

    @ApiModelProperty(value = "修改类型(0 - 改价 1 - 退款)")
    private Integer updateType;

    @ApiModelProperty(value = "流水号(非退款项可以不填)")
    private String serialNumber;


    public static final String RECORD_ID = "record_id";

    public static final String ORIGINL_FEE = "originl_fee";

    public static final String DIFF_FEE = "diff_fee";

    public static final String ORDER_NO = "order_no";

    public static final String CREATE_USER = "create_user";

    public static final String CREATE_TIME = "create_time";

    public static final String UPDATE_TIME = "update_time";

    public static final String UPDATE_USER = "update_user";

    public static final String FEE_TYPE = "fee_type";

    public static final String UPDATE_TYPE = "update_type";

    public static final String SERIAL_NUMBER = "serial_number";

}
